#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
package ${package}.domain.contract.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * demo excel 导出
 *
 * @author zhouhengzhe
 * @version 1.0
 * @date 2023/12/14 18:35
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class DemoExportExcelVO {

    @Schema(description = "主键")
    @ExcelProperty(value = "主键", index = 0)
    private String id;

    @Schema(description = "创建时间")
    @ExcelProperty(value = "创建时间", index = 1)
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    @ExcelProperty(value = "更新时间", index = 2)
    private LocalDateTime updateTime;

    @Schema(description = "创建人编码")
    @ExcelProperty(value = "创建人编码", index = 3)
    private String createBy;

    @Schema(description = "创建人")
    @ExcelProperty(value = "创建人", index = 4)
    private String creator;

    @Schema(description = "更新人编码")
    @ExcelProperty(value = "更新人编码", index = 5)
    private String updateBy;

    @Schema(description = "更新人")
    @ExcelProperty(value = "更新人", index = 6)
    private String updater;

    @Schema(description = "应用ID")
    @ExcelProperty(value = "应用ID", index = 7)
    private String tenantId;

    @Schema(description = "年龄")
    @ExcelProperty(value = "年龄", index = 8)
    private Integer age;

    @Schema(description = "名字")
    @ExcelProperty(value = "名字", index = 9)
    private String name;
}
